@nice2dev/ui 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/dist/NiceErrorBoundary-DBCCmeyl.js +770 -0
  3. package/dist/NiceErrorBoundary-V6wkSSLP.cjs +1 -0
  4. package/dist/NiceForm-DLADlHAQ.js +5383 -0
  5. package/dist/NiceForm-DUkduLqG.cjs +382 -0
  6. package/dist/NiceForm.css +1 -1
  7. package/dist/NiceModal-CUdeVj-j.js +95 -0
  8. package/dist/NiceModal-Cc8R-DpX.cjs +1 -0
  9. package/dist/NiceModuleLifecyclePanel-4UEsYB5r.js +6553 -0
  10. package/dist/NiceModuleLifecyclePanel-C6agdtTI.cjs +1 -0
  11. package/dist/NiceModuleLifecyclePanel.css +1 -1
  12. package/dist/NicePagination-Cqr3Pe_F.js +171 -0
  13. package/dist/NicePagination-DyWWdtb3.cjs +1 -0
  14. package/dist/NicePinCodeInput-C6zJxUVf.cjs +419 -0
  15. package/dist/NicePinCodeInput-ltwzQf4r.js +12240 -0
  16. package/dist/NicePinCodeInput.css +1 -1
  17. package/dist/NiceSavedQueryPanel-BIXW0y1X.js +6455 -0
  18. package/dist/NiceSavedQueryPanel-CFHwMDIx.cjs +596 -0
  19. package/dist/NiceSavedQueryPanel.css +1 -1
  20. package/dist/NiceTabs-B9zxj6qd.js +1657 -0
  21. package/dist/NiceTabs-CNauJ4fu.cjs +1 -0
  22. package/dist/NiceWindow-Bo_yCa1o.js +1418 -0
  23. package/dist/NiceWindow-DPzJxOfx.cjs +1 -0
  24. package/dist/charts-C60va95_.js +4657 -0
  25. package/dist/charts-D_I1iwel.cjs +761 -0
  26. package/dist/charts.cjs +1 -1
  27. package/dist/charts.css +1 -1
  28. package/dist/charts.mjs +1 -1
  29. package/dist/core-Bcc4sz15.cjs +96 -0
  30. package/dist/core-Da1dGJN3.js +22401 -0
  31. package/dist/data.cjs +1 -1
  32. package/dist/data.d.ts +5 -0
  33. package/dist/data.mjs +1 -1
  34. package/dist/editors.cjs +1 -1
  35. package/dist/editors.d.ts +44 -1
  36. package/dist/editors.mjs +3 -3
  37. package/dist/feedback.cjs +1 -1
  38. package/dist/feedback.mjs +2 -2
  39. package/dist/index-DCDfWfAt.js +64336 -0
  40. package/dist/index-DpiCo0_e.cjs +5194 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.css +1 -1
  43. package/dist/index.d.ts +166 -3
  44. package/dist/index.mjs +47 -47
  45. package/dist/lazy.cjs +1 -1
  46. package/dist/lazy.mjs +3 -3
  47. package/dist/navigation.cjs +1 -1
  48. package/dist/navigation.d.ts +15 -1
  49. package/dist/navigation.mjs +30 -30
  50. package/dist/overlays.cjs +1 -1
  51. package/dist/overlays.mjs +53 -53
  52. package/dist/style.css +6 -6
  53. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,67 @@
1
+ # [1.0.19] — 2026-05-26
2
+
3
+ ### Fixed — NiceNavShell breakpoint sync
4
+
5
+ - **`mobileBreakpoint` default obniżony 960 → 720** żeby zgrać moment
6
+ zniknięcia desktopowego sidebar z momentem pojawienia się hamburgera
7
+ w `NiceTopNav` (oba komponenty domyślnie 720). Eliminuje „martwą
8
+ strefę" 720–960, w której sidebar już nie był widoczny a hamburger
9
+ jeszcze się nie pokazał.
10
+ - **`NiceNavShellApi.isMobile`** — render-prop slot consumers
11
+ (`topNav={(api) => ...}`) otrzymują flagę `isMobile` żeby przekazać
12
+ `forceMobileLayout={api.isMobile}` do własnego `NiceTopNav`. JSDoc na
13
+ `mobileBreakpoint` przypomina by zmienić ten prop na obu komponentach
14
+ jednocześnie, jeśli konsument chce inną wartość.
15
+
16
+ ### Fixed / Added — NiceTopNav narrow mode polish
17
+
18
+ - **Mobile panel header** — nowe propsy `showMobilePanelSelector`,
19
+ `mobilePanels`, `activeMobilePanelId`, `onMobilePanelChange`,
20
+ `showMobilePanelModes`, `mobilePanelModes` pozwalają wstrzyknąć dwa
21
+ opcjonalne wiersze nad menu w pull-down panelu hamburgera: natywny
22
+ `<select>` z workspace'ami i pasek trybów (ikony + etykiety reużywające
23
+ `SIDEBAR_MODE_META`). Widoczność obu wierszy sterowana wyłącznie
24
+ propsami (gate dodatkowo wymaga zalogowanego `user`).
25
+ - **Ghost variant** dla `NiceLanguagePicker`, `NiceThemePicker`,
26
+ `NiceCountryPicker`, `NiceNotifications` i `NiceTopNavExtraActionButton`
27
+ (Settings/extraActions). Aktywuje się automatycznie w narrow mode topnav
28
+ — borderless trigger, ikona-only, bez chevron arrow.
29
+ - **Narrow-mode 3-wiersz layout** — header w narrow mode (`isMobile ||
30
+ forceMobileLayout`) renderuje trzy edge-to-edge wiersze: brand
31
+ (transparent), accessories (`--bg-secondary`), hamburger (`--bg-tertiary`).
32
+ `padding: 0` na headerze + `max-width: none; margin-inline: 0` na inner
33
+ → pasek 100 % szerokości niezależnie od propa `maxWidth`.
34
+ - **Hamburger row hover** — cały wiersz hamburgera jest teraz klikalny;
35
+ przycisk rozciąga się na 100% szerokości wiersza, hover/focus podświetla
36
+ cały pasek a nie tylko niewielki box wokół ikony.
37
+ - **Pull-down panel anchoring** — `hamburgerDrawer` przeniesiony WEWNĄTRZ
38
+ `.nice-top-nav__inner` (zamiast pod `<header>`). `__inner` dostał
39
+ `position: relative` → panel `position: absolute; top: 100%` wysuwa się
40
+ dokładnie spod widocznego paska.
41
+ - **Picker dropdowny w narrow mode** anchorują się teraz do
42
+ `.nice-top-nav__row--accessories` (`position: relative` na wierszu +
43
+ `position: static` na pickerach + `left/right: 0` na dropdownach) →
44
+ rozwijają się na 100% szerokości kontenera, bez przycinania lewą
45
+ krawędzią.
46
+ - **Hamburger ↔ pickery — mutual exclusion**: klik hamburgera zamyka
47
+ `activeCluster` (lang/theme/search); otwarcie pickera zamyka
48
+ `mobileOpen`. Dropdowny nie nakładają się już na panel mobilny.
49
+ - **Notification badge w ghost variant** ma teraz mniejszy font (9 px),
50
+ węższy ring i pozycję `top/right: 0` — nie wystaje poza ghost trigger.
51
+ - **NiceAuthButtons w narrow mode** wymusza `size="sm"` + CSS override
52
+ zmniejsza `.nice-user-menu__avatar` do 28 px, pasuje do reszty ikon ghost.
53
+ - **NiceTopNav `rightCluster` swap** — kolejność w toolbarze: notifications
54
+ → extraActions → settings → auth/avatar → rightContent (zarówno desktop
55
+ jak i narrow). Settings przed loginem dla spójności z innymi shellami.
56
+
57
+ ### Internal
58
+
59
+ - `NiceTopNavExtraActionButton` dostał prop `variant?: 'default' | 'ghost'`.
60
+ - Wszystkie picker triggery w ghost mają teraz `background: transparent`
61
+ na hover/focus/open (zero podświetlenia "kontenera").
62
+
63
+ ---
64
+
1
65
  # [1.1.0] — 2026-05-21 (cd. — batch 6: number/rate/file/search/tag/prompt/palette/lightbox)
2
66
 
3
67
  ### Added — Numeric input / rating / async search / tag input / overlays / command palette